# Makefile for IMU UDP Receiver

# 编译器设置
CC = gcc
CFLAGS = -Wall -Wextra -g
LDFLAGS = -lpthread

# 目标文件
TARGET = get_imu

# 源文件
SRCS = get_imu.c

# 目标规则
all: $(TARGET)

$(TARGET): $(SRCS)
	$(CC) $(CFLAGS) -o $(TARGET) $(SRCS) $(LDFLAGS)

# 清理规则
clean:
	rm -f $(TARGET)

# 伪目标声明
.PHONY: all clean